package day06;public class txt5 {
    public static void main(String[] args) {
        int[]a=new int[5];
        System.out.println(a[a.length-1]);

        double[] d=new double[5];
        System.out.println(d[d.length-1]);

        boolean[]b=new boolean[5];
        System.out.println(b[b.length-1]);

        String[]s=new String[5];
        System.out.println(s[s.length-1]);

        char[]c={'A','B','C','D','E'};
        System.out.println(c[c.length-1]);
        }
    }

